package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 贵宾厅/贵宾通道 预约同行人员表
 *
 * @author flyme
 * @date 2022-05-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_peerstaff")
@TableAlias("peerstaff")
@ApiModel(value="BusPeerstaff对象", description="贵宾厅/贵宾通道 预约同行人员表")
public class BusPeerstaff extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "peerstaffId", type = IdType.ASSIGN_ID)
    private Long peerstaffId;

    @ApiModelProperty(value = "姓名")
    private String userName;

    @ApiModelProperty(value = "证件类型（1身份证，2护照,3港澳通行证，台胞证）")
    private Integer identityType;

    @ApiModelProperty(value = "证件号")
    private String identityNo;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "贵宾厅/通道 预约Id")
    private Long appointmentId;

}
